package com.library.entity;

import lombok.Data;
import java.util.Date;
import java.math.BigDecimal;

@Data
public class BorrowRecord {
    private Integer id;
    private Integer bookId;
    private Integer userId;
    private Date borrowDate;
    private Date returnDate;
    private Date actualReturnDate;  // 实际归还日期
    private Integer status;  // 0:借阅中 1:已归还
    private BigDecimal overdueFee;  // 逾期费用
    
    // 额外的显示字段
    private String bookName;
    private String userName;
} 